<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
    body{
      font: 12px "simhei",Arial,Helvetica,sans-serif;
      color: #666;
    }
    body>div{
        width: 198px;
        height: 233px;
        background-color: #e8e8e8;
        text-align: center;/*让元素内容居中*/
    }
    .p1{
        margin: 0 0 6px 0;/*去掉自带上外边距，将下外边距改成6*/
        color: #000;
    }
    .p2{
        color: #0aa1ed;
        font-weight: bold;
        margin: 6px 0;
    }
    a{
        width: 100px;
        height: 24px;
        color: white;
        background-color: #0aa1ed;
        display: block;
        /*通过以下写法让块级元素居中*/
        margin: 0 auto;
        line-height: 24px;
        text-decoration: none;/*去掉下划线*/
        border-radius: 2px;
    }
  </style>
</head>
<body>
<div>
  <img src="http://doc.canglaoshi.org/tstore_v1/images/itemCat/study_computer_img3.png">
  <p class="p1">戴尔(DELL)XPS13-9360-R1609 13.3英寸微边框笔记本电脑</p>
  <p class="p2">$4600.00</p>
  <a href="">查看详情</a>
</div>
</body>
</html>